/*
 * CorrerTest.java
 * JMUnit based test
 *
 * Created on 11/08/2011, 04:38:53 PM
 */
package hello;

import javax.microedition.lcdui.Graphics;
import jmunit.framework.cldc10.*;

/**
 * @author Claudia
 */
public class CorrerTest extends TestCase {
    
    public CorrerTest() {
        //The first parameter of inherited constructor is the number of test cases
        super(3, "CorrerTest");
    }    
    
    public void test(int testNumber) throws Throwable {
        switch (testNumber) {
            case 0:
                testPaint();
                break;
            case 1:
                testRun();
                break;
            case 2:
                testActualizaPosicion();
                break;
            default:
                break;
        }
    }

    /**
     * Test of testPaint method, of class Correr.
     */
    public void testPaint() throws AssertionFailedException {
        System.out.println("paint");
        Correr instance = null;
        Graphics g_1 = null;
        instance.paint(g_1);
        fail("The test case is a prototype.");
    }

    /**
     * Test of testRun method, of class Correr.
     */
    public void testRun() throws AssertionFailedException {
        System.out.println("run");
        Correr instance = null;
        instance.run();
        fail("The test case is a prototype.");
    }

    /**
     * Test of testActualizaPosicion method, of class Correr.
     */
    public void testActualizaPosicion() throws AssertionFailedException {
        System.out.println("actualizaPosicion");
        Correr instance = null;
        int key_1 = 0;
        instance.actualizaPosicion(key_1);
        fail("The test case is a prototype.");
    }
}
